#include<string>
#include<vector>
class util
{
public:
      //"10 + 10"
    static void StringSplit(const std::string res,const std::string sep,std::vector<std::string>*vs)
    {
        int pos = 0;
        while(pos != -1)
        {
            int nextpos = res.find(sep.c_str(),pos);
            if(nextpos == -1)
                break;
            vs->push_back(res.substr(pos,nextpos - pos));
            pos = nextpos + sep.size();
        }
        vs->push_back(res.substr(pos,-1));
    }
};